package com.dsg.entity.apply;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import java.util.Date;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 業務申請單內審結果
 * </p>
 *
 * @author system
 * @since 2020-08-31
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("dsg_apply_result")
@ApiModel(value="DsgApplyResult对象", description="業務申請單內審結果")
public class DsgApplyResult implements Serializable {

    private static final long serialVersionUID = 1L;

    public static final int RESULT_TYPE_MAN = 1;
    public static final int RESULT_TYPE_CAR = 2;
    public static final int RESULT_TYPE_PAY = 3;

    public static final int RESULT_STATUS_FAIL = 0;
    public static final int RESULT_STATUS_SUCCESS = 1;
    /** 強行通過 */
    public static final int RESULT_STATUS_FORCE = 2;

    @ApiModelProperty(value = "主鍵")
    @TableId("OID")
    private String oid;

    @ApiModelProperty(value = "申請單號")
    @TableField("APP_NO")
    private String appNo;

    @ApiModelProperty(value = "內審類型")
    @TableField("RESULT_TYPE")
    private Integer resultType;

    @ApiModelProperty(value = "姓名/車牌/銀行戶口")
    @TableField("RESULT_NAME")
    private String resultName;

    @ApiModelProperty(value = "油咭類型")
    @TableField("CARD_TYPE")
    private String cardType;

    @ApiModelProperty(value = "內審狀態")
    @TableField("RESULT_STATUS")
    private Integer resultStatus;

    @ApiModelProperty(value = "失敗原因")
    @TableField("RESULT_REASON")
    private String resultReason;

    @ApiModelProperty(value = "創建人")
    @TableField("CREATER")
    private String creater;

    @ApiModelProperty(value = "創建時間")
    @TableField("CREATE_TIME")
    private Date createTime;

    @ApiModelProperty(value = "更新人")
    @TableField("UPDATER")
    private String updater;

    @ApiModelProperty(value = "更新時間")
    @TableField("UPDATE_TIME")
    private Date updateTime;


}
